package com.it.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.it.demo.entity.Permission;
import com.it.demo.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    List<Permission> findByUserRole(@Param("id") Integer id);
}
